package com.thread.deadLock;

/**
 * DeadTest--bdqnPractice
 *
 * @author: Jovi
 * @createTime: 2017-08-22 14:07
 **/
public class DeadTest {

    public static void main(String[] args) {

        MyDeadLock md = new MyDeadLock();

        Thread t1 = new Thread(md);
        t1.setName("死1");
        Thread t2 = new Thread(md);
        t2.setName("死2");

        t1.start();
        t2.start();

    }
}
